//
#include<stdio.h>
#include<math.h>
int main()
{
    int x = 0, y = 0
    scanf_s("%d", &x);
    printf("请输入信噪比:\n");
    scanf_s("%d", &y);
    float j = 0;
    float i = 0;
    i = x * log2(1 + y);
    j = i / 2.0;
    printf("极限波特率为:%lf\n极限比特率为:%lf\n", i, j);


}